package com.yyfax.pay.depository.service.inner;

import com.yyfax.pay.third.model.to.fuioudeposit.EntrustTradeNotifyReq;
import com.yyfax.pay.third.model.to.fuioudeposit.TradeNotifyReq;
import com.yyfax.pay.third.model.to.fuioudeposit.WithdrawNotifyReq;

/**
 * 交易通知接口
 * 
 * @author heizq
 * @date 2017-09-07 10:09:19
 * @since v1.0.0
 */
public interface TradeNotifyService {

	/**
	 * 交易通知
	 * 
	 * @author heizq
	 * @date 2017-09-07 10:20:51
	 * @since v1.0.0
	 * @param req
	 */
	public String tradeNotify(TradeNotifyReq req);

	/**
	 * 处理委托提现异步回调
	 *
	 * @author yejc
	 * @date 2017-09-21
	 * @since v2.0.0
	 * @param req
	 * @return
	 */
	public String handleEntrustWithdraw(EntrustTradeNotifyReq req);

	/**
	 * 处理委托充值异步回调
	 *
	 * @author yejc
	 * @date 2017-09-21
	 * @since v2.0.0
	 * @param req
	 * @return
	 */
	public String handleEntrusCharge(EntrustTradeNotifyReq req);

	/*
	 * 处理提现退票通知
	 *
	 * @author yejc
	 * @date 2017-10-18
	 * @since v2.0.0
	 */
	public String handleWithdrawCancel(WithdrawNotifyReq req);
}
